//
//  SRSettingBirthdayViewController.m
//  SportRing
//
//  Created by Apple on 14/10/24.
//  Copyright (c) 2014年 HotOne. All rights reserved.
//

#import "SRSettingBirthdayViewController.h"
#import "SRSettingBirthdayView.h"
#import "SRViewSetting.h"

@interface SRSettingBirthdayViewController () <SRSettingBirthdayViewDelegate>

@property (nonatomic, weak) IBOutlet SRSettingBirthdayView * birthdayView;

@end

@implementation SRSettingBirthdayViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self addBackButton];
}

#pragma mark - SRSettingBirthdayViewDelegate

- (void)didSelectBirthday:(NSDate *)birthday
{
    [SRViewSetting sharedSetting].birthday = birthday;
}

-(void)defaultValue:(NSDate *)date
{
    [SRViewSetting sharedSetting].birthday = date;
}

- (void)didTapNextBtn
{
}

-(void)didTapBackBtn
{
    [self.navigationController popViewControllerAnimated:YES];
}

@end
